package com.foreverwin.mes.meapi.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author Syngna
 * @since 2020-01-13
 */
@TableName("CERTIFICATION")
public class Certification extends Model<Certification> {

    private static final long serialVersionUID = 1L;

   @TableId(value = "HANDLE", type = IdType.INPUT)
   private String handle;
   @TableField("CHANGE_STAMP")
   private String changeStamp;
   @TableField("SITE")
   private String site;
   @TableField("CERTIFICATION")
   private String certification;
   @TableField("DESCRIPTION")
   private String description;
   @TableField("RENEWAL_DAYS")
   private String renewalDays;
   @TableField("WARNING_DAYS")
   private String warningDays;
   @TableField("WARNING_ALARM_BO")
   private String warningAlarmBo;
   @TableField("EXPIRATION_ALARM_BO")
   private String expirationAlarmBo;
   @TableField("CERTIFICATION_TYPE_BO")
   private String certificationTypeBo;
   @TableField("DURATION_TYPE")
   private String durationType;
   @TableField("DURATION")
   private String duration;
   @TableField("DURATION_UNITS")
   private String durationUnits;
   @TableField("STATUS_BO")
   private String statusBo;
   @TableField("NUM_OF_EXTENSIONS")
   private String numOfExtensions;
   @TableField("MAX_EXTENSION_DURATION")
   private String maxExtensionDuration;
   @TableField("EXTENSION_UNITS")
   private String extensionUnits;
   @TableField("CREATED_DATE_TIME")
   private Date createdDateTime;
   @TableField("MODIFIED_DATE_TIME")
   private Date modifiedDateTime;


   public String getHandle() {
      return handle;
   }

   public void setHandle(String handle) {
      this.handle = handle;
   }

   public String getChangeStamp() {
      return changeStamp;
   }

   public void setChangeStamp(String changeStamp) {
      this.changeStamp = changeStamp;
   }

   public String getSite() {
      return site;
   }

   public void setSite(String site) {
      this.site = site;
   }

   public String getCertification() {
      return certification;
   }

   public void setCertification(String certification) {
      this.certification = certification;
   }

   public String getDescription() {
      return description;
   }

   public void setDescription(String description) {
      this.description = description;
   }

   public String getRenewalDays() {
      return renewalDays;
   }

   public void setRenewalDays(String renewalDays) {
      this.renewalDays = renewalDays;
   }

   public String getWarningDays() {
      return warningDays;
   }

   public void setWarningDays(String warningDays) {
      this.warningDays = warningDays;
   }

   public String getWarningAlarmBo() {
      return warningAlarmBo;
   }

   public void setWarningAlarmBo(String warningAlarmBo) {
      this.warningAlarmBo = warningAlarmBo;
   }

   public String getExpirationAlarmBo() {
      return expirationAlarmBo;
   }

   public void setExpirationAlarmBo(String expirationAlarmBo) {
      this.expirationAlarmBo = expirationAlarmBo;
   }

   public String getCertificationTypeBo() {
      return certificationTypeBo;
   }

   public void setCertificationTypeBo(String certificationTypeBo) {
      this.certificationTypeBo = certificationTypeBo;
   }

   public String getDurationType() {
      return durationType;
   }

   public void setDurationType(String durationType) {
      this.durationType = durationType;
   }

   public String getDuration() {
      return duration;
   }

   public void setDuration(String duration) {
      this.duration = duration;
   }

   public String getDurationUnits() {
      return durationUnits;
   }

   public void setDurationUnits(String durationUnits) {
      this.durationUnits = durationUnits;
   }

   public String getStatusBo() {
      return statusBo;
   }

   public void setStatusBo(String statusBo) {
      this.statusBo = statusBo;
   }

   public String getNumOfExtensions() {
      return numOfExtensions;
   }

   public void setNumOfExtensions(String numOfExtensions) {
      this.numOfExtensions = numOfExtensions;
   }

   public String getMaxExtensionDuration() {
      return maxExtensionDuration;
   }

   public void setMaxExtensionDuration(String maxExtensionDuration) {
      this.maxExtensionDuration = maxExtensionDuration;
   }

   public String getExtensionUnits() {
      return extensionUnits;
   }

   public void setExtensionUnits(String extensionUnits) {
      this.extensionUnits = extensionUnits;
   }

   public Date getCreatedDateTime() {
      return createdDateTime;
   }

   public void setCreatedDateTime(Date createdDateTime) {
      this.createdDateTime = createdDateTime;
   }

   public Date getModifiedDateTime() {
      return modifiedDateTime;
   }

   public void setModifiedDateTime(Date modifiedDateTime) {
      this.modifiedDateTime = modifiedDateTime;
   }

   public static final String HANDLE = "HANDLE";

   public static final String CHANGE_STAMP = "CHANGE_STAMP";

   public static final String SITE = "SITE";

   public static final String CERTIFICATION = "CERTIFICATION";

   public static final String DESCRIPTION = "DESCRIPTION";

   public static final String RENEWAL_DAYS = "RENEWAL_DAYS";

   public static final String WARNING_DAYS = "WARNING_DAYS";

   public static final String WARNING_ALARM_BO = "WARNING_ALARM_BO";

   public static final String EXPIRATION_ALARM_BO = "EXPIRATION_ALARM_BO";

   public static final String CERTIFICATION_TYPE_BO = "CERTIFICATION_TYPE_BO";

   public static final String DURATION_TYPE = "DURATION_TYPE";

   public static final String DURATION = "DURATION";

   public static final String DURATION_UNITS = "DURATION_UNITS";

   public static final String STATUS_BO = "STATUS_BO";

   public static final String NUM_OF_EXTENSIONS = "NUM_OF_EXTENSIONS";

   public static final String MAX_EXTENSION_DURATION = "MAX_EXTENSION_DURATION";

   public static final String EXTENSION_UNITS = "EXTENSION_UNITS";

   public static final String CREATED_DATE_TIME = "CREATED_DATE_TIME";

   public static final String MODIFIED_DATE_TIME = "MODIFIED_DATE_TIME";

   @Override
   protected Serializable pkVal() {
      return this.handle;
   }

   @Override
   public String toString() {
      return "Certification{" +
         "handle = " + handle +
         ", changeStamp = " + changeStamp +
         ", site = " + site +
         ", certification = " + certification +
         ", description = " + description +
         ", renewalDays = " + renewalDays +
         ", warningDays = " + warningDays +
         ", warningAlarmBo = " + warningAlarmBo +
         ", expirationAlarmBo = " + expirationAlarmBo +
         ", certificationTypeBo = " + certificationTypeBo +
         ", durationType = " + durationType +
         ", duration = " + duration +
         ", durationUnits = " + durationUnits +
         ", statusBo = " + statusBo +
         ", numOfExtensions = " + numOfExtensions +
         ", maxExtensionDuration = " + maxExtensionDuration +
         ", extensionUnits = " + extensionUnits +
         ", createdDateTime = " + createdDateTime +
         ", modifiedDateTime = " + modifiedDateTime +
         "}";
   }
}